21842 ZIP Code — Ocean City, MD

Worcester County, Maryland

ZIP code 21842 is located in Ocean City, Maryland, within Worcester County. It covers approximately 9.16 square miles and serves a population of 10,951 residents. This is a standard ZIP code in the Eastern (ET) timezone, served by area code 410/443/667.

About ZIP code 21842

The housing stock consists of a significant share of large multi-unit buildings. Most homes were built in the 1980s, giving the area an established character. Median home value is $364,200. Owner-occupancy sits near the national average at 74%.

The gap between median ($68,626) and mean household income suggests income inequality — a small number of higher earners pull the average up. 44% of households receive Social Security income, suggesting a notable retiree or disability population.

The dominant occupation class is management, business, and professional, with arts, entertainment, and food service as the leading industry. The average commute of 20 minutes is near the national average.

Educational attainment is near the national average, with 39% of residents holding a bachelor's degree or higher.

10,951
population
9.16
sq mi land
Standard
ZIP type
Eastern (ET)
timezone
21842 ZIP code map
Cities in ZIP code 21842

Below are the cities the US Postal Service accepts for ZIP code 21842. Using any city not on this list may result in mail delivery delays.

City Status
Ocean City Acceptable
Ocean City Preferred
Nearby ZIP codes
21813 Bishopville (4.4 mi) 19975 Selbyville (6.7 mi) 19944 Fenwick Island (6.9 mi) 21811 Berlin (8.8 mi) 21872 Whaleyville (10.3 mi) 19945 Frankford (10.8 mi) 19967 Millville (11 mi) 19970 Ocean View (11.7 mi) 19930 Bethany Beach (11.8 mi) 19939 Dagsboro (13.2 mi) 21841 Newark (13.4 mi) 21874 Willards (13.9 mi)
Demographics updated 05/2026
Population
Total population 10,951
Population density 1,196 / sq mi
State FIPS 24
County FIPS 047
Geography
Land area 9.16 sq mi
Water area 12.15 sq mi
Latitude 38.3872
Longitude -75.1024
Timezone Eastern (ET)
Area code 410/443/667
Total population by age
Gender
Race & ethnicity
Economics updated 05/2026
Household income
Income range This ZIP County avg State avg
Under $50k 40.0% 40.0% 28.2%
$50k – $100k 31.1% 31.3% 28.2%
$100k – $200k 16.5% 21.0% 30.1%
Over $200k 12.3% 7.8% 13.4%

Demographics & statistics

10,951
Population
1,196
People per sq mi
53.1
Median age
$68,626
Median household income
$64,880
Per capita income
$364,200
Median home value
$1,224
Median monthly rent
73.6%
Home ownership
8.2%
Poverty rate
6.1%
Unemployment
31,076
Housing units
38.6%
Bachelor's or higher

Age distribution

Male Female
206
Under 5
228
167
5–9
186
202
10–14
225
146
15–19
163
388
20–24
430
602
25–34
669
476
35–44
528
535
45–54
593
446
55–59
496
506
60–64
562
971
65–74
1,077
370
75–84
410
175
85+
194
← Male
Female →

Age summary

GroupCount%
Under 181,45413.3%
18 and over9,49786.7%
65 and over3,19729.2%
Median age53.1 years

Race & ethnicity

White 85.1%
Hispanic or Latino 4.7%
Two or more races 3.7%
Black or African American 3.4%
Other race 2.5%
Asian 0.5%
American Indian / Alaska Native 0.1%
GroupCount%
White9,77685.1%
Hispanic or Latino5374.7%
Two or more races4273.7%
Black or African American3913.4%
Other race2922.5%
Asian540.5%
American Indian / Alaska Native110.1%

Household income

Income range This ZIP County avg State avg
Under $50k 40.0% 40.0% 28.2%
$50k – $100k 31.1% 31.3% 28.2%
$100k – $200k 16.5% 21.0% 30.1%
Over $200k 12.3% 7.8% 13.4%
Under $10k 4.3%
$10k–$15k 2.7%
$15k–$25k 5.8%
$25k–$35k 11.0%
$35k–$50k 13.6%
$50k–$75k 17.7%
$75k–$100k 10.2%
$100k–$150k 15.3%
$150k–$200k 6.4%
$200k+ 12.9%
Range% of households
Under $10k4.3%
$10k–$15k2.7%
$15k–$25k5.8%
$25k–$35k11.0%
$35k–$50k13.6%
$50k–$75k17.7%
$75k–$100k10.2%
$100k–$150k15.3%
$150k–$200k6.4%
$200k+12.9%
Median income$68,626

Housing

Home values

Under $50k 2.5%
$50k–$100k 0.7%
$100k–$150k 3.3%
$150k–$200k 7.5%
$200k–$300k 22.9%
$300k–$500k 32.1%
$500k–$1M 25.2%
$1M+ 5.7%

Housing overview

MetricValue
Median home value$364,200
Median rent / month$1,224
Owner occupied73.6%
Renter occupied26.4%
Vacant82.5%
Single-family detached14.9%
Large apartment buildings43.1%
Mobile homes4.1%
Median rooms3.9
Avg household size (owned)1.91

Year built

Era%
2020 or later0.1%
2010–20192.5%
2000–200914.1%
1990–19997.2%
1980–198935.3%
1970–197930.1%
1960–19696.3%
1950–19591.8%
1940–19491.4%
1939 or earlier1.2%

Bedrooms

Size% of units
No bedroom (studio)3.6%
1 bedroom14.9%
2 bedrooms40.5%
3 bedrooms33.2%
4 bedrooms6.5%
5+ bedrooms1.3%

Vehicles per household

Vehicles% of households
No vehicle8.2%
1 vehicle40.5%
2 vehicles40.6%
3 or more10.7%

Heating fuel

Fuel type%
Utility gas15.3%
Electricity72.6%
Propane / LP gas7.1%
Fuel oil2.8%
Wood0.5%
Solar0.4%
No fuel used1.0%

Households & families

Household typeCount%
Married-couple family2,18338.3%
Cohabiting couple3716.5%
Male householder, no spouse1,15120.2%
Female householder, no spouse2,00035.1%
Households with children under 1891016.0%
Households with seniors (65+)2,36641.5%
Average household size1.91

Marital status

StatusMaleFemale
Never married31.3%23.7%
Married53.2%42.6%
Separated1.1%6.3%
Widowed3.0%10.1%
Divorced11.3%17.2%

Education

Less than 9th grade 1.3%
Some HS, no diploma 3.2%
HS graduate 27.1%
Some college, no degree 22.1%
Associate's degree 7.6%
Bachelor's degree 24.0%
Graduate / professional 14.5%
Metric%
HS diploma or higher95.5%
Bachelor's or higher38.6%

School enrollment (ages 3–17)

TypeCount%
Nursery / preschool342.0%
Kindergarten251.5%
Elementary school62636.7%
High school35320.7%
College / grad school66839.2%

Employment

Industry of employment

Arts, food & hospitality 29.3%
Education & healthcare 13.5%
Professional & management 12.4%
Finance & real estate 11.5%
Retail trade 8.2%
Public administration 7.6%
Construction 6.9%
Transportation & utilities 3.5%
Other services 2.3%
Manufacturing 2.2%
Wholesale trade 1.1%
Information 1.0%
Agriculture & mining 0.4%

Occupation

Category%
Management, business & arts39.4%
Service28.0%
Sales & office19.9%
Natural resources & construction7.5%
Production & transportation5.2%

Employment type

Type%
Private sector74.9%
Government15.2%
Self-employed8.9%
Unpaid family workers1.0%

Commute

Method%
Drive alone74.8%
Carpool4.1%
Public transit2.6%
Walk3.8%
Work from home12.1%
Other means2.6%
Avg commute (minutes)19.7

Poverty

All people 8.2%
Under 18 years 12.6%
18 and over 7.5%
Married-couple families 1.7%
Female-led households 7.0%

Income support

Source% of households
Social Security44.3%
Retirement income34.6%
Supplemental Security1.8%
Cash public assistance3.2%
Food stamps / SNAP4.5%

Health indicators

Condition%
Obesity32.1%
High blood pressure40.8%
High cholesterol40.1%
Diabetes11.8%
Heart disease7.9%
Stroke3.5%
Asthma9.0%
Arthritis30.0%
Kidney disease3.3%
Pulmonary disease7.6%
Cancer8.9%
Behavior / access%
Smoking15.2%
Binge drinking14.0%
No physical activity24.2%
Less than 7 hrs sleep28.0%
Depression18.9%
Fair or poor health13.1%
Poor mental health12.8%
Poor physical health9.6%
No health insurance9.7%
Visited doctor (checkup)78.4%
Visited dentist65.1%
Cholesterol screening93.2%
Teeth loss10.8%

Veterans & disability

VeteransCount%
Civilian veterans9029.5%
Disability%
Any disability15.6%
Under 187.0%
18–64 years10.6%
65 and over29.3%

Health insurance coverage

Type%
Private insurance69.2%
Public insurance46.0%
No insurance8.4%
Uninsured under 198.3%

Language & origin

Language spoken at home (age 5+)

LanguageCount%
English only10,51796.0%
Spanish3022.9%
Other Indo-European1551.5%
Asian & Pacific Islander1011.0%
Other languages370.4%

Place of birth & citizenship

OriginCount%
Native born (US)9,92490.6%
Born in same state9,81589.6%
Born in different state5,68751.9%
Foreign born1091.0%
Naturalized citizen1,0279.4%
Not a US citizen45043.8%

Ancestry

AncestryCount%
Italian2,41722.1%
French1,74515.9%
Arab5154.7%
Polish1251.1%
AncestryCount%
English1071%
Irish770.7%
Norwegian400.4%
German130.1%

Technology access

Metric% of households
Computer access52.1%
Internet access95.3%

Source: U.S. Census Bureau, American Community Survey 2025 estimates.

Frequently asked questions about ZIP code 21842

What city is ZIP code 21842 in?

ZIP code 21842 is primarily assigned to Ocean City, Maryland.

What county is ZIP code 21842 in?

ZIP code 21842 falls within Worcester County, Maryland.

Does ZIP code 21842 have an older population?

29% of residents in ZIP code 21842 are 65 or older, above the national average of ~17%.

Does ZIP code 21842 have a large retiree population?

44% of households in ZIP code 21842 receive Social Security income, suggesting a significant retiree or disability population.

What is the typical home value in ZIP code 21842?

The median home value in ZIP code 21842 is $364,200.

Does ZIP code 21842 have a large veteran population?

10% of civilians in ZIP code 21842 are veterans, above the national average of ~7%.

What timezone is ZIP code 21842 in?

ZIP code 21842 observes the EST timezone.

Need the complete ZIP code database? Download all 42,000+ US ZIP codes — Excel, CSV, or Access. Includes lat/lng, county FIPS & timezone.
Download database →